<template>
	<div class="titleMoreBox">
		<span class="title">{{title}}</span>
		<span class="more" @click="toCourseListView">
			<span>更多</span>
			<van-icon name="arrow" class="icon" color="#BFC0C2" size="1.6rem" />
		</span>
	</div>
</template>

<script>
	export default{
		props:{
			title:String,
			tag:Number
		},
		mounted() {
			console.log("title",this.title)
		},
		methods:{
			toCourseListView() {
				console.log("toCourseListView")
				this.$router.push({
					path:"/course/courseList",
					query:{
						tag: this.tag
					}
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	@import '@/assets/css/variable';
	
</style>
